﻿<%@ taglib uri="http://java.fckeditor.net" prefix="FCK" %>
<%@ page contentType="text/html;charset=utf-8" %>

<html>
<head>
<script language="javascript">
<!-- 
function f_submit()
{ 
    var oEditor = FCKeditorAPI.GetInstance('EditorDefault');
    var btnOkValue = document.getElementById('btnok');
    btnOkValue.value = oEditor.GetXHTML();
  
}

function f_submit1()
{ 
    var oEditor = FCKeditorAPI.GetInstance('EditorDefault');
    var btnValue = document.getElementById('btndisplay');

    oEditor.SetHTML(btnValue.value);
}

function fn_load(){
    top.document.title = "init_msie";
}
 
// -->
</script>
</head>
<body border="0" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" scroll="no" onload="javascript:fn_load()">
<input type="hidden" id="btnok" value="" onClick="javascript:f_submit()">
<input type="hidden" id="btndisplay" value="" onClick="javascript:f_submit1()">
<form name="myform" method="post">
<FCK:editor instanceName="EditorDefault" basePath="/MINISTOP/fck/fckeditor/" height="470" ></FCK:editor>
</form>
</body>

</html>